package io.github.yotta.logger.manager.service;

import io.github.yotta.common.api.model.Paging;
import io.github.yotta.logger.api.model.LogOperationData;
import io.github.yotta.logger.api.request.LogCreateRequest;
import io.github.yotta.logger.api.request.LogPageQueryRequest;

import java.util.List;

/**
 * @author yotta
 * @date 2023/3/26 18:33
 */
public interface LogService {
    Paging<LogOperationData> page(LogPageQueryRequest request);

    Long save(LogCreateRequest request);

    List<LogOperationData> list(LogPageQueryRequest request);
}
